package com.rongshu.view.home.bean;

import android.text.TextUtils;

import com.rongshu.view.submitArticle.bean.LabelBean;

import java.io.Serializable;
import java.util.List;

/**
 * created by zhengweis on 2018/11/14.
 * description：
 */
public class RecommendReaderResponse implements Serializable {

    /**
     * Total : 0
     * ErrCode : 0
     * ErrMsg : 成功
     */

    private int Total;
    private int ErrCode;
    private String ErrMsg;
    private List<ResponseBean> Response;

    public int getTotal() {
        return Total;
    }

    public void setTotal(int Total) {
        this.Total = Total;
    }

    public int getErrCode() {
        return ErrCode;
    }

    public void setErrCode(int ErrCode) {
        this.ErrCode = ErrCode;
    }

    public String getErrMsg() {
        return ErrMsg;
    }

    public void setErrMsg(String ErrMsg) {
        this.ErrMsg = ErrMsg;
    }

    public List<ResponseBean> getResponse() {
        return Response;
    }

    public void setResponse(List<ResponseBean> Response) {
        this.Response = Response;
    }

    public static class ResponseBean implements Serializable {
        /**
         * contribute_id : 132
         * topImg : null
         * title : 数码温情
         * contents_header : 我们的第一次交谈是在随性的网络，谈论的却是个犹如黑洞般的话题，关于人和人之间的距离。 还有温暖。 那时他到加拿大已经很多年，他写信
         * categories : null
         * keywordList : []
         * recommendCount : 1
         * IsRead : false
         */

        private int contribute_id;
        private String topImg;
        private String title;
        private String contents_header;
        private String categories;
        private int recommendCount;
        private int IsRead;
        private String bi_name;
        private List<LabelBean> keywordList;
        private List<RecommendAvatarBean> recommendAvatar;

        public String getBi_name() {
            return TextUtils.isEmpty(bi_name) ? "null" : bi_name;
        }

        public void setBi_name(String bi_name) {
            this.bi_name = bi_name;
        }

        public int getContribute_id() {
            return contribute_id;
        }

        public void setContribute_id(int contribute_id) {
            this.contribute_id = contribute_id;
        }

        public String getTopImg() {
            return topImg;
        }

        public void setTopImg(String topImg) {
            this.topImg = topImg;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContents_header() {
            return contents_header;
        }

        public void setContents_header(String contents_header) {
            this.contents_header = contents_header;
        }

        public String getCategories() {
            return categories;
        }

        public void setCategories(String categories) {
            this.categories = categories;
        }

        public int getRecommendCount() {
            return recommendCount;
        }

        public void setRecommendCount(int recommendCount) {
            this.recommendCount = recommendCount;
        }

        public int getIsIsRead() {
            return IsRead;
        }

        public void setIsRead(int IsRead) {
            this.IsRead = IsRead;
        }

        public List<LabelBean> getKeywordList() {
            return keywordList;
        }

        public void setKeywordList(List<LabelBean> keywordList) {
            this.keywordList = keywordList;
        }

        public List<RecommendAvatarBean> getRecommendAvatar() {
            return recommendAvatar;
        }

        public void setRecommendAvatar(List<RecommendAvatarBean> recommendAvatar) {
            this.recommendAvatar = recommendAvatar;
        }

        public static class RecommendAvatarBean implements Serializable {
            /**
             * avatar : http://happytest.52rongshu.com:10012/UploadImgFiles/20181219/bf5e0723-518d-46fd-8694-0af8286a7765.jpg
             * vip : false
             */

            private String avatar;
            private boolean vip;

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public boolean isVip() {
                return vip;
            }

            public void setVip(boolean vip) {
                this.vip = vip;
            }
        }
    }
}
